<script setup lang="ts">
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import zhCN from 'ant-design-vue/es/locale/zh_CN'

dayjs.locale('zh-cn') // 全局使用汉化
</script>

<template>
  <!-- 主题样式配制 -->
  <a-config-provider
    :theme="{
      token: {
        fontFamily: 'PingFang SC, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif',
        colorText: '#131313',
        colorPrimary: '#00b96b'
      }
    }"
    :locale="zhCN"
  >
    <router-view></router-view>
  </a-config-provider>
</template>

<style scoped></style>
